<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?= empty($language) ? '' : 'lang="' . $language . '"' ?> dir="<?= @$language == 'ar' ? 'rtl' : 'ltr' ?>">
<head>
	<title><?= $title_for_layout ?></title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<script src="http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.2/prototype.js"></script>
	<script src="/js/bibleapi.js"></script>
	<link rel="stylesheet" type="text/css" href="/css/bibleapi.css" />
	<? if(!empty($css)): ?>
		<link rel="stylesheet" type="text/css" href="<?= $css ?>" />
	<? endif; ?>
</head>

<body class="bibleapi">
	<?= $content_for_layout; ?>
</body>
</html>